package com.etime.shycourse.orde.dto;

import com.etime.shycourse.orde.pojo.Buycar;
import com.etime.shycourse.wx.applets.pojo.Chapter;
import com.etime.shycourse.wx.applets.pojo.Course;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;

import java.util.List;

/**
 * @ClassName : BuyCarIncludeGoodsTypeDto  //类名
 * @Description :   购物车包括 课程 Dto//描述
 * @Author : W //作者
 * @Date: 2022/1/12  14:51
 */
@ApiModel(value = "BuyCarIncludeGoodsDto对象", description = "购物车包括 课程 Dto")
public class BuyCarIncludeGoodsDto extends Buycar implements Serializable {

    private static final long serialVersionUID = 1L;
    private Course course;

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    // 课程章节列表 +课时列表
    private List<Chapter> chapters;

    public List<Chapter> getChapters() {
        return chapters;
    }

    public void setChapters(List<Chapter> chapters) {
        this.chapters = chapters;
    }

}

